package com.whminwei.edu.api.dc.dto.fspn.school;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author zhangjq
 * @since 2024-11-04
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
public class DcDailySchedFspn {

    List<DcDailySched> dailySchedList;

    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    @JsonInclude(JsonInclude.Include.NON_NULL)
    public static class DcDailySched {
        private String startDate;

        private List<DcDailyItem> dailyItemList;
    }


    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    @JsonInclude(JsonInclude.Include.NON_NULL)
    public static class DcDailyItem {
        private int sort;

        private String startTime;

        private String endTime;

        public DcDailyItem(int sort) {
            this.sort = sort;
        }
    }
}
